<?php

// +----------------------------------------------------------------------
// | EasyAdmin
// +----------------------------------------------------------------------
// | PHP交流群: 763822524
// +----------------------------------------------------------------------
// | 开源协议  https://mit-license.org
// +----------------------------------------------------------------------
// | github开源项目：https://github.com/zhongshaofa/EasyAdmin
// +----------------------------------------------------------------------

namespace app\common\model;

use app\common\lib\Time;
use app\common\model\TimeModel;


class MallOrderGoods extends TimeModel
{

    protected function getEndTimeAttr($value)
    {
        $time = time();
        $end_time = $value + 900;
        $left_time = $end_time - $time;
        $last = Time::getTimeLast($left_time);
        return $last[1] . "分钟" . $last[2] . "秒";
    }

}